import { uniRequest } from '@/utils/request'

export const cleanTeaLogin = function(data) {//保洁登陆
	return uniRequest('cleanTeaLogin', 'POST', data);
}

export const cleanGetTeaRoomListInfo = function(data) {//保洁获取茶室下预定信息(已支付未使用的)
	return uniRequest('cleanGetTeaRoomListInfo', 'GET', data);
}

export const cleanGetTeaRoomList = function(data) {//保洁获取茶室房间列表（保洁端）
	return uniRequest('cleanGetTeaRoomList', 'GET', data);
}

export const isTeaRoomReleaseTime = function(data) {//手动释放
	return uniRequest('isTeaRoomReleaseTime', 'POST', data);
}

export const cleanOpenDoor = function(data) {//保洁开门
	return uniRequest('cleanOpenDoor', 'POST', data);
}

export const cleanOpenSwitch = function(data) {//保洁控制断路器
	return uniRequest('cleanOpenSwitch', 'POST', data);
}